import {axios_get,axios_post,axios_put,axios_delete} from './http.js'

//例
// export const api_axios_post = p => axios_post("/app01/index/",p)
//美多登录
export const MD_login_post = p => axios_post("/mds/login/",p)
//获取微博url
export const MD_url_get = p => axios_get("/mds/weibourl/",p)
//验证手机号
export const MD_codes_get = p => axios_get("/mds/codes/",p)
//手机号注册
export const MD_phone_post = p => axios_post("/mds/smsuser/",p)

export const MD_seng_email = p => axios_get("/mds/send_email/",p)
//修改密码
export const MD_rest_pwd = p => axios_post("/mds/change/",p)
//游戏添加
export const RI_res_youxi = p => axios_post("/zks/yxres/",p)
//英雄添加
export const RI_res_yingxiong = p => axios_post("/zks/usrs/",p)
//下拉展示
export const RI_res_yxsh = p => axios_get("/zks/yxs/",p)
//英雄展示
export const RI_us_show = p => axios_get("/zks/usshow/",p)
//游戏修改
export const RI_yx_upd = p => axios_post("/zks/yxupt/",p)
//周测用户注册
export const ZC_user_reg = p => axios_post("/zks/ureg/",p)
//周测用户展示
export const ZC_user_show = p => axios_get("/zks/ushow/",p)
//富文本
export const send_fuwenben = p => axios_post("/mds/fwb/",p)

export const fuwenben_user_show = p => axios_get("/mds/fwb/",p)
//一级分类展示
export const select_feilei_one = p => axios_get("/mds/fenleione/",p)
//二级分类展示
export const select_feilei_tow = p => axios_get("/mds/fenleitow/",p)
//省分类展示
export const RI_regs_show = p => axios_get("/zks/reg1/",p)
//下辖类展示
export const RI_resx_show = p => axios_get("/zks/reg2/",p)
//商品展示
export const select_goods_detall = p => axios_get("/mds/goodsinfo/",p)
//作者登录
export const ZC_author_login = p => axios_get("/zks/alogin/",p)
//书籍展示
export const ZC_BOOK_SHOW = p => axios_get("/zks/bookshow/",p)
//购物车添加
export const MD_cart_create = p => axios_post("/mds/cartadd/",p)
//购物车详情
export const MD_cart_show = p => axios_get("/mds/cartadd/",p)
//修改数量
export const update_cart = p => axios_put("/mds/cartadd/",p)
//商品添加到数据库
export const MD_bny_info = p => axios_post("/mds/buys/",p)
//订单
export const MD_buy_post = p => axios_post("/mds/orders/",p)




CES_fenlei_show
//测试
export const RI_Bss_create = p => axios_post("/zks/bsscre/",p)
export const RI_Ass_show = p => axios_get("/zks/assshow/",p)
export const RI_BOOK_show = p => axios_get("/zks/bkshow/",p)
export const RI_ceshi_get = p => axios_get("/zks/ceshi/",p)
export const RI_BookS_create = p => axios_post("/zks/bookcre/",p)
export const RI_BookS_show = p => axios_get("/zks/bokshow/",p)
export const RI_AU_show = p => axios_get("/zks/auths/",p)
export const RI_BK_show = p => axios_get("/zks/BKbook/",p)
export const RI_tupian_show = p => axios_get("/zks/tushow/",p)



export const CES_fuwenben_show = p => axios_get("/ces/goodsshow/",p)
export const CES_fenlei_cerate = p => axios_post("/ces/fencer/",p)
export const CES_fenlei_show = p => axios_get("/ces/fencer/",p)
export const RI_class_add = p => axios_post("/ces/claadd/",p)
export const RI_class_show = p => axios_get("/ces/claadd/",p)

export const RI_com_show = p => axios_get("/ces/comshow/",p)
export const RI_com_sw = p => axios_post("/ces/clas/",p)
export const RI_user_red = p => axios_get("/ces/usered/",p)
export const RI_xinwen_show = p => axios_get("/ces/xinshow/",p)

export const RI_pinglun_red = p => axios_post("/ces/pingshow/",p)
export const RI_ping_res = p => axios_post("/ces//",p)